using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using InnovaApp.Layers.ResourcesLayer.Properties;
using InnovaApp.Portals.MVC4Portal.Models.ClientFilesGenerationModels;
using System.Threading;
using System.Globalization;

namespace InnovaApp.Portals.MVC4Portal.Controllers.ClientFilesGenerationControllers
{
    public partial class ScriptsGController : _ClientFilesGenerationControllers_Base
    {
        /// <summary>
        /// GET: /ScriptsG/[Language]/ContactManagerDynamic.js
        /// </summary>
        /// <returns>ActionResult.</returns>
        public ActionResult ContactManagerDynamic(string language)
        {
            LocalizeDynamicScripts(language);
            toReturn.Variables.Add("ControllerName", "ScriptsGController");
            toReturn.Variables.Add("cap_ContactManager_GridColumn_Genre",Resources.cap_ContactManager_GridColumn_Genre);
            toReturn.Variables.Add("cap_ContactManager_GridColumn_FirstName", Resources.cap_ContactManager_GridColumn_FirstName);
            toReturn.Variables.Add("cap_ContactManager_GridColumn_LastName", Resources.cap_ContactManager_GridColumn_LastName);
            toReturn.Variables.Add("cap_ContactManager_GridColumn_Username", Resources.cap_ContactManager_GridColumn_Username);
            toReturn.Variables.Add("cap_ContactManager_GridColumn_Town", Resources.cap_ContactManager_GridColumn_Town);
            toReturn.Variables.Add("cap_ContactManager_GridColumn_Country", Resources.cap_ContactManager_GridColumn_Country);
            toReturn.Variables.Add("cap_ContactManager_GridColumn_EMail", Resources.cap_ContactManager_GridColumn_EMail);
            Response.ContentType = "text/javascript";
            return View(toReturn);
        }
    }
}